<!doctype html>
<!-- don't modify this -->
<script src="./time-formatted.js"></script>

<!-- your code here: -->
<script src="./live-timer.js"></script>

<live-timer id="elem"></live-timer>

<script>
  elem.addEventListener('tick', event => console.log(event.detail));
</script>